home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-10-28 | 4.6 KB | 128 lines | [TEXT/ttxt] |
-
- Utils README
-
- Utils is a small app that simply makes Latitude's Apple Menu utilities,
- like Copy Files and File Systems available for use. This is handy if you
- have no other way to properly bring your application's resource files
- to Rhapsody.
-
- To build Utils:
-
- 1. Organize Utils' files under your $LATITUDE_ROOT/Latitude.MacFiles/
- Applications directory like so:
-
- Utils/
- %Utils
- Sources/
- Makefile
- main.c
-
- 2. Build Utils by invoking make. From a Terminal window, do this:
-
- localhost> cd $LATITUDE_ROOT/Latitude.MacFiles/Applications/Utils/Sources
- localhost> make
-
- You should see output similar to this:
-
- cc -Wall -no-precomp -O -D_LATITUDE_ -I. -I/usr/latitude/include/latitude
- -I/usr/latitude/include/CIncludes -c main.c -o Rhapsody/main.o
- cc -Wall -no-precomp -O -L/usr/latitude/lib -o
- Rhapsody/Utils Rhapsody/main.o -llg -framework AppKit
-
- Depending on the setting of your LATITUDE_ROOT environment variable, you
- may see slight differences. However, Utils should build successfully. If
- not, check to see that your LATITUDE_ROOT environment variable is set
- properly.
-
- 3. You can now run Utils:
-
- localhost> Rhapsody/Utils
-
- The first time you run Utils, Latitude will ask you to locate Utils'
- resource file by presenting a Standard Get File Dialog. Use the dialog
- to locate Latitude.MacFiles:Applications:Utils:Utils
-
- Using Utils:
-
- Utils gives you access to Latitude's File Systems and Copy Files dialogs which
- can be helpful in bringing your application resource files to Rhapsody. To
- do this:
-
- 1. On a Mac, place your application's executable and any other support resource
- files on a 1.4 Meg HFS formatted floppy. If your application is too big to
- fit on a floppy, try using a resource file editor to remove any compiled
- CODE resources that may be taking up lots of space. Also, be sure that your
- application's executable resource fork contains a BNDL resource with your
- application's signature.
-
- 2. On Rhapsody, insert the floppy and wait a moment until you see the Apple
- floppy icon on your Rhapsody desktop.
-
- 3. run Utils. From a Teminal window,
-
- localhost> cd $LATITUDE_ROOT/Latitude.MacFiles/Applications/Utils/Sources
- localhost> Rhapsody/Utils
-
-
- 4. Select Utils' icon so that you see only an Apple menu and File menu
- in the menubar.
-
- 5. Select Apple->File Systems. The File Systems dialog will appear.
-
- 6. Press the "Floppy" button. "/dev/rfd0b" appears in the Unix Path text
- field.
-
- 7. Press the "Add" button. The File Systems dialog will disappear.
- The floppy is now mounted.
-
- 8. Select Apple->Copy Files.
-
- The Copy Files dialog will appear. In the top portion of the dialog,
- you will see a file list of the floppy's contents. You can double click
- on folders to enter them. When you select a file, it will be listed in
- the file list in the center of the dialog. To copy whole folders, select
- the folder and press the "Add" button.
-
- 9. Select your resource file(s) to be copied.
-
- 10. Select the destination directory to receive the copied file(s).
- Most likely, you will be placing these files in Latitude.MacFiles:
- Applications:YourAppDir. You can use the popup menu located across
- from the "Select destination directory:" label to jump directly to
- a particular volume.
-
- 11. Press "Copy All". An alert will appear asking to verify the
- destination. Pressing "OK" will allow the copy to proceed.
- The Copy Files dialog will disappear once the copy is completed.
-
-
- If you copy any text files with this method, you will find that no
- CR/LF conversion has been done. By setting some options in Latitude's
- File Systems dialog, however, Latitude will perform CR/LF conversion on
- Mac files of Finder type 'TEXT'. To do this:
-
- 1. Select Apple->File Systems. The File Systems dialog appears.
-
- 2. Click on the volume you will be copying files to from the "Hotlist
- Directories" list.
-
- 3. Press the "Options..." button. The UNIX File System Options dialog
- appears.
-
- 4. In the middle of the dialog, select the "UNIX style (LF)" setting for
- the Disk representation of line breaks.
-
- 5. In the bottom of the dialog, select the "All 'TEXT' files" setting.
-
- 6. Press the "OK" button. The UNIX File System Options dialog disappears.
-
- 7. Due to an updating bug, the File Systems dialog won't update itself so you'll
- lose its contents. To move on, press return while the File Systems dialog
- has focus. The File System dialog disappears.
-
- 8. You may now use the Copy Files dialog to copy text files from a Mac floppy
- into the volume you designated in the File Systems dialog. Latitude will
- automatically perform CR/LF conversions for TEXT files that are copied.
-
-
-